Skip to content

[test] Repair first-last frame and node-history Nightly fixtures - #614

Open
wangtiance wants to merge 7 commits into
ThinkFlowLab:mainfrom
wangtiance:codex/fix-nightly-dec01-browser
Open

wangtiance wants to merge 7 commits into
ThinkFlowLab:mainfrom
wangtiance:codex/fix-nightly-dec01-browser

Conversation

@wangtiance

@wangtiance wangtiance commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

In Nightly 46602505002, both browser jobs timed out on the first/last-frame case before creating a connection. The fixture dragged nodes to fixed window coordinates. The split workspace could leave an image beneath the video node or outside the usable canvas.

Lay out the three nodes with the existing project command, fit the canvas, and drag from each image's own right-hand port. Continue checking the first/last roles in the composer and the persisted project, including after reload.

The node-history test also failed because it counted every call to the view API as a write. Count only calls that send view state, while retaining the zero-write assertion after opening history.

Refs #200 and #386.

Validation

  • Both complete browser cases passed against a local isolated API and Vite server with headless Edge and fake generation models. The checks cover first/last roles after reload and node-history save, dismissal, failure, retry and media behavior.
  • Node syntax, browser manifest, browser locale and diff checks passed.
  • This changes only the browser test fixture. Product visuals and behavior are outside the diff, so visual evidence is N/A. The PR-triggered CI and full Nightly lanes have yet to run on this candidate.

Independent candidate review: 90/100, with no blocking findings. Reviewed base d819c159d468e0ed641e27220b5552eb686fe5fc and head 68a119a2ec23eea00f7eb54d19861eaf6eb643a8. Release checks, CodeQL, and the full Nightly lanes remain unverified on this head.

December 3 branch refresh

Merged upstream main at 128230015ce8f58db7232317f51237bdf196b18e into this PR. The pull-request diff is unchanged. It still touches only the two browser scenarios.

  • Both full cases passed locally in Windows Edge with the isolated API and Vite development server. The production build and the first/last-frame case against Vite production preview also passed. Browser manifest, browser locale, Node syntax and diff whitespace checks passed.
  • The previous Release checks run failed during the real OpenCode visual worker tests. This refresh includes the upstream worker isolation from [test] agent: isolate bundled OpenCode workers #648. Hosted Release checks, CodeQL and the combined Nightly lanes remain pending on the refreshed head.

Independent candidate review of the refresh: 90/100, with no blocking findings. Reviewed base 128230015ce8f58db7232317f51237bdf196b18e and head d25100cb79e1dbc68a65625b280ae34a3839e1f2.

中文摘要

首尾帧用例先通过现有画布命令布置三个节点,再从各图片的实际端口拖线。节点历史用例只计入带视图数据的写操作。两条本地完整用例均通过。

12 月 3 日同步主分支。两个浏览器用例已重新通过本地验证,GitHub 检查将基于新提交重新运行。

December 5 conflict resolution

Merged main 93bd25b08a53633c08a9d904b1043e8cf6c2de65 into the branch. Candidate: ca4a4a0c10949a4808ad8097a41facbccdd46809.

The only textual conflict was the view-call wrapper in node_versions.mjs. It now preserves main's variadic argument forwarding and write-only counting, together with this PR's consistent viewWrites counter name. The diff remains limited to the same two browser test files. No product behavior is added by this conflict resolution.

Current validation supersedes the historical full-pass statements above:

  • Node syntax, diff checks, browser manifest, browser locale, and whole-PR pre-commit checks passed.
  • On intermediate merge e53e91a6da822098d610f8c2da0e5a6fb0647ed0, the complete first/last-frame browser case passed in Chromium 145 / Playwright 1.58.2 against the isolated API and Vite server.
  • The node-history case reached its later failed-save/retry section, then timed out at line 945: the floating cutout toolbar intercepted the title double-click in renameTarget. The identical main test from 42c5dc3926026384c13f7a6cc633792df44d079d reproduced the same interception at the same step against the same application tree. The counter rename is the only node-history diff from main. This is recorded as an existing browser-flow failure, not a passing full-history run.
  • The final refresh adds upstream fix: map Ark video generation availability (#675) #676; the full browser journeys have not been rerun on the final candidate. Linux, Node 24.22.1, Release checks, CodeQL and full Nightly remain unverified on this head. Local Node is 24.14.1. Model responses are fixtures; file/media assertions use real files.

Visual evidence is N/A for this test-only fixture change. Historical passing evidence above remains attributed to its earlier revisions.

Author candidate self-review: 83/100 (scope 3/3, correctness 3/3, validation 2/3, claim evidence 2/3, simplicity 3/3). The conflict resolution preserves both branches' semantics; current validation has the bounded browser-flow gap described above. Independent candidate review: 83/100, with no blocking findings for publishing this conflict resolution update; formal WITHHOLD remains. Reviewed base 93bd25b08a53633c08a9d904b1043e8cf6c2de65 and head ca4a4a0c10949a4808ad8097a41facbccdd46809. This update resolves conflicts and does not claim merge readiness.

Main synchronization after #700

Merged main 322f98c317322c1ac12541093719c890507b51b0 into this PR. Candidate: 7d94a88f6e7936ea0e45281a6518599596814063. The merge completed without textual conflicts. This includes #700's default-core discovery fix, which supersedes the closed #695.

The PR's browser test files are byte-identical to the previous head ca4a4a0c10949a4808ad8097a41facbccdd46809; the PR retains its original two-file scope.

Validation on this candidate:

  • pytest tests/test_ci_layers.py tests/test_ark_availability.py -q --tb=short: 34 passed.
  • Relevant Node syntax, browser manifest, browser locale, diff whitespace, and whole-PR pre-commit checks passed. The pre-commit range check used an isolated copy of the identical committed index.
  • Full browser journeys were not rerun for this synchronization. Prior browser evidence and limitations remain attributed to the revisions recorded above.
  • The previously recorded node-history title double-click interception remains an unresolved validation failure; this update does not claim a successful full-history run.

Author self-review: 83/100 (scope 3/3, correctness 3/3, validation 2/3, claim evidence 2/3, simplicity 3/3). Independent refreshed review: 83/100, with no blocking findings for publishing this synchronization. Reviewed base 322f98c317322c1ac12541093719c890507b51b0 and head 7d94a88f6e7936ea0e45281a6518599596814063. Hosted Release checks, CodeQL and applicable Nightly evidence remain unverified on this candidate; synchronization does not constitute merge readiness.

Linux Nightly follow-up

At the previous exact head 7d94a88, production passed first_last_frame_connections.mjs. Extended also passed that script, but node_versions.mjs stopped at the rename step because the selection toolbar intercepted the title double-click. Updated main includes the #696 fix for that specific obstruction. Both fixture scripts remain byte-identical to 7d94a88.

On 86f6bfa both scripts pass Node syntax checks, the browser manifest passes, and all 12 selection presentation unit tests pass. The merged candidate still needs the exact-head Release and Nightly results.

Independent candidate review: 83/100, base ec39d09, head 86f6bfa.

中文摘要

旧提交的 Linux Nightly 首尾帧用例通过。节点历史脚本运行到重命名时,标题被浮动工具栏挡住。同步主分支纳入 #696 的修复,两份测试脚本内容和断言保持不变。两个脚本的语法检查、浏览器清单和 12 项工具栏单测通过,等待更新后的托管结果。

@github-actions github-actions Bot added area:ci Continuous integration and checks type:ci Build, test and release automation labels Dec 1, 2026

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD 68a119a Refs #200, #386

当前暂定 90/100,非批准分:范围 3/3、正确性 3/3、验证 2/3、主张证据 N/A(只改测试)、简洁度 3/3。首尾帧用持久坐标布局,再从各自的真实端口拖线;历史面板仍断言打开时零视图写入,只不再把读取算成写入。两处都保留了原来的行为断言。作者本地两条完整用例通过,当前提交的三个浏览器 job 也绿。

Release Python 在 OpenCode 技能发现和原生视觉输入测试失败;日志没有显示是这两个 fixture 的回归,但 Release 整体未通过、完整 Nightly 也未证实,我没有运行 PR 代码。

English: The fixture fixes preserve the original assertions. Browser jobs are green; the exact-head Release is not green and the full Nightly is unverified.

Dot,代表 @david6666666。

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD d25100c Refs #200, #386

Dot,代表 @david6666666,非表决评审。

两个 fixture 与上次审查的 Git blob 一致:首尾帧仍从图片各自的实际端口拖线并在重开后查角色,节点历史仍断言开面板时没有写视图,只是不再把读取算成写入。当前 main 的视频压缩提交未改这两个 fixture,GitHub 也没有报告冲突,不需要为追平 main 重跑。

Ran: 文件和断言对比,以及 同 SHA Release checks 回读;Release、CodeQL、DSH 全绿。作者报告 Windows Edge 的两条完整本地用例通过,首尾帧另通过 production preview。Not run: 我没有独立运行浏览器,也没找到此 SHA 的扩展和生产 Nightly。旧失败来自 Nightly,所以目前可确认 PR 门禁已过,不能宣布 Nightly 两条路径已修复。

当前证据暂定 90/100,非批准分:范围 3/3、正确性 3/3、验证 2/3、主张证据 N/A(只改测试)、简洁度 3/3。Merge base 128230015ce8f58db7232317f51237bdf196b18e,head d25100cb79e1dbc68a65625b280ae34a3839e1f2。下一步核对实际 Nightly 的两条 lane。

@wangtiance

Copy link
Copy Markdown
Collaborator Author

谢谢复核。我核对了 d25100c 的 Release、CodeQL 和 DSH,均已通过。这个 SHA 还没有扩展或生产 Nightly 的记录,现有 Release 结果不能确认原 Nightly 的两条场景已修复。

@wangtiance

Copy link
Copy Markdown
Collaborator Author

@david6666666 尝试召唤

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD 7d94a88 Refs #200, #386

当前证据暂定 90/100,非批准分(范围 3、正确性 3、验证 2、证据 N/A、简洁度 3)。看过这版了。首尾帧先用持久坐标排好布局,再从对应图片的真实端口拖线;历史面板仍检查打开时没有 view 写入,只不再误计读操作。这两处都没有删掉原来的行为断言。改动只在测试,不需要补 UI 截图。

Ran: 核对 同 SHA Release 12/12,CodeQL 和 DSH 全绿。Not run: 没找到该 SHA 的 extended / production Nightly。它们正是原失败所在的 lane;下一步只需要该提交对应的两条场景结果,不用为了单纯落后 main 再 rebase。

Dot,代表 @david6666666。非表决复审。

@wangtiance

Copy link
Copy Markdown
Collaborator Author

谢谢复核。已在 fork 触发 Linux Nightly,回读的 SHA 是 7d94a88,与当前 PR 一致。待 extended 和 production 跑完会核对两条场景各自的结果。

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD 86f6bfa Refs #200, #386

反馈一下两条场景的实际结果。我下载核对了 当前 SHA 的 production 产物,first_last_frame_connections.mjs 已通过。前一版的 extended 产物里首尾帧也通过,但 node_versions.mjs 失败;当前版 extended 仍在跑。两条 fixture 的 PR 改动没变,先等当前版节点历史场景的实际结果,不需要为了同步 main 重跑已有绿灯。

Ran: 核对同 SHA Release 和两版 Nightly 产物。Not run: 未独立运行浏览器 fixture。

当前证据暂定 90/100,非批准分(范围/正确性/验证/主张证据/简洁度:3/3/2/N/A/3;仅修改测试)。
Base ec39d09e3dd990dd9df2f21f2be4d06024d78cf4 · Head 86f6bfad4b90bd956638e24e3413f0f36608610a。

Dot,代表 @david6666666。

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COMMENT(非表决) 86f6bfa Refs #200, #386

首尾帧这条已确认:同一 SHA 的 production 和 extended 都通过。节点历史仍不通过。下载的 extended 结果 与 job log 一致:node_versions.mjs:266 两个 asset ID 都在,但显示顺序和 snapshot.jobs 顺序正好相反。非视频历史会把当前版本提到首位,不能直接拿 jobs 数组当显示顺序;at(-1) 也不应当作 current 的依据。建议用 fixture 明确记录的当前 asset 检查 current 和首位,再单独比对两版本的成员,保留已有的零 view writes 断言。其余 3 个红项不归因到这份 diff。

技术结论:需修改。79/100(范围 3、正确性 2、验证 2、主张证据 N/A、简洁度 3)。Ran: 回读同 SHA 的 Release 和 Nightly CI,下载逐场景结果。Not run: 没有自行重跑浏览器。

Base ec39d09e3dd990dd9df2f21f2be4d06024d78cf4 · Head 86f6bfad4b90bd956638e24e3413f0f36608610a。
Dot,代表 @david6666666。

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Continuous integration and checks type:ci Build, test and release automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants